package com.ruoyi.bom.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import jdk.nashorn.internal.ir.annotations.Ignore;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 菜品对象 tql_dish
 * 
 * @author ruoyi
 * @date 2023-12-31
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
public class TqlDish extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 菜品id */
    private Integer id;

    /** 菜品编码 */
    @Excel(name = "菜品编码")
    private String dishCode;

    /** 菜品名称 */
    @Excel(name = "菜品名称")
    private String dishName;

    /** 菜品单价 */
    @Excel(name = "菜品单价")
    private BigDecimal dishPrice;

    /** 菜品状态 */
    @Excel(name = "菜品状态")
    private String dishStatus;

    /** 销售单位 */
    @Excel(name = "销售单位")
    private String shopId;

    /** 出品部门编号 */
    @Excel(name = "出品部门编号")
    private String workClassNo;

    /** 出品部门 */
    @Excel(name = "出品部门")
    private String workClassName;

    /** 乐观锁 */
    @Excel(name = "乐观锁")
    private String revision;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createdBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updatedBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedTime;

    /** 冗余字段 */
    @Excel(name = "是否启用")
    private String isEnable;

    /** 冗余字段 */
    @Excel(name = "审核状态")
    private String verifierStatus;

    /** 冗余字段 */
    @Excel(name = "是否锁定")
    private String isLock;


    /** 部门 */
    @Excel(name = "毛利")
    private BigDecimal grossProfit;
    /** 部门 */
    @Excel(name = "毛利率")
    private BigDecimal grossProfitRate;
    /** 部门 */
    @Excel(name = "成本")
    private BigDecimal cost;



    private BigDecimal initPrice;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDishCode() {
        return dishCode;
    }

    public void setDishCode(String dishCode) {
        this.dishCode = dishCode;
    }

    public String getDishName() {
        return dishName;
    }

    public void setDishName(String dishName) {
        this.dishName = dishName;
    }

    public BigDecimal getDishPrice() {
        return dishPrice;
    }

    public void setDishPrice(BigDecimal dishPrice) {
        this.dishPrice = dishPrice;
    }

    public String getDishStatus() {
        return dishStatus;
    }

    public void setDishStatus(String dishStatus) {
        this.dishStatus = dishStatus;
    }

    public String getShopId() {
        return shopId;
    }

    public void setShopId(String shopId) {
        this.shopId = shopId;
    }

    public String getWorkClassNo() {
        return workClassNo;
    }

    public void setWorkClassNo(String workClassNo) {
        this.workClassNo = workClassNo;
    }

    public String getWorkClassName() {
        return workClassName;
    }

    public void setWorkClassName(String workClassName) {
        this.workClassName = workClassName;
    }

    public String getRevision() {
        return revision;
    }

    public void setRevision(String revision) {
        this.revision = revision;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public String getUpdatedBy() {
        return updatedBy;
    }

    public void setUpdatedBy(String updatedBy) {
        this.updatedBy = updatedBy;
    }

    public Date getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(Date updatedTime) {
        this.updatedTime = updatedTime;
    }

    public String getIsEnable() {
        return isEnable;
    }

    public void setIsEnable(String isEnable) {
        this.isEnable = isEnable;
    }

    public String getVerifierStatus() {
        return verifierStatus;
    }

    public void setVerifierStatus(String verifierStatus) {
        this.verifierStatus = verifierStatus;
    }

    public String getIsLock() {
        return isLock;
    }

    public void setIsLock(String isLock) {
        this.isLock = isLock;
    }

    public BigDecimal getGrossProfit() {
        return grossProfit;
    }

    public void setGrossProfit(BigDecimal grossProfit) {
        this.grossProfit = grossProfit;
    }

    public BigDecimal getGrossProfitRate() {
        return grossProfitRate;
    }

    public void setGrossProfitRate(BigDecimal grossProfitRate) {
        this.grossProfitRate = grossProfitRate;
    }

    public BigDecimal getCost() {
        return cost;
    }

    public void setCost(BigDecimal cost) {
        this.cost = cost;
    }

    public BigDecimal getInitPrice() {
        return initPrice;
    }

    public void setInitPrice(BigDecimal initPrice) {
        this.initPrice = initPrice;
    }
}
